package com.zhiche.lisa.bms.dao.model.bill;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 异常账单明细
 * </p>
 *
 * @author liuanshun
 * @since 2018-09-15
 */
@TableName("lisa_exception_bill_dtl")
public class ExceptionBillDtl extends Model<ExceptionBillDtl> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 头id
     */
	@TableField("head_id")
	private Long headId;
    /**
     * 对应客户明细id
     */
	@TableField("bill_id")
	private Long billId;
    /**
     * 订单号
     */
	@TableField("order_code")
	private String orderCode;
    /**
     * 订单明细id 
     */
	@TableField("order_code_dtl")
	private String orderCodeDtl;
    /**
     * 运单号
     */
	@TableField("waybill_id")
	private String waybillId;
    /**
     * 运单号明细
     */
	@TableField("waybill_detail_id")
	private String waybillDetailId;
    /**
     * 运单明细
     */
	@TableField("ship_detail_id")
	private String shipDetailId;
    /**
     * 是否有误：0、否 1、是
     */
	@TableField("is_error")
	private Integer isError;
    /**
     * 错误信息
     */
	@TableField("error_message")
	private String errorMessage;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getHeadId() {
		return headId;
	}

	public void setHeadId(Long headId) {
		this.headId = headId;
	}

	public Long getBillId() {
		return billId;
	}

	public void setBillId(Long billId) {
		this.billId = billId;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getOrderCodeDtl() {
		return orderCodeDtl;
	}

	public void setOrderCodeDtl(String orderCodeDtl) {
		this.orderCodeDtl = orderCodeDtl;
	}

	public String getWaybillId() {
		return waybillId;
	}

	public void setWaybillId(String waybillId) {
		this.waybillId = waybillId;
	}

	public String getWaybillDetailId() {
		return waybillDetailId;
	}

	public void setWaybillDetailId(String waybillDetailId) {
		this.waybillDetailId = waybillDetailId;
	}

	public String getShipDetailId() {
		return shipDetailId;
	}

	public void setShipDetailId(String shipDetailId) {
		this.shipDetailId = shipDetailId;
	}

	public Integer getIsError() {
		return isError;
	}

	public void setIsError(Integer isError) {
		this.isError = isError;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ExceptionBillDtl{" +
			", id=" + id +
			", headId=" + headId +
			", billId=" + billId +
			", orderCode=" + orderCode +
			", orderCodeDtl=" + orderCodeDtl +
			", waybillId=" + waybillId +
			", waybillDetailId=" + waybillDetailId +
			", shipDetailId=" + shipDetailId +
			", isError=" + isError +
			", errorMessage=" + errorMessage +
			"}";
	}
}
